import 'dart:convert';

import 'package:flutter_elf/base/base_page_state.dart';
/// CreateTime 2020/7/7 18:19
/// CreateUser chen 
/// ProjectName flutter_elf
import 'package:flutter_elf/config/component_index.dart';

class CryptoPage extends StatefulWidget{
  @override
  State<StatefulWidget> createState() {
    // TODO: implement createState
    return CryptoPageState();
  }
}

const List<int> bytes = [8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8];
class CryptoPageState extends BasePageState<CryptoPage>{
  String uuid = 'uuid';
  @override
  void initState() {
    // TODO: implement initState
    super.initState();
    init();
  }

  init(){
    String base = base64.encode(uuid.codeUnits);
    print(base);
  }

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return null;
  }
}